package com.haiya.builder.example;

import com.haiya.builder.example.builder.Decorator;
import com.haiya.builder.example.product.Parlour;

public class ProjectManager {
    private Decorator builder;

    public ProjectManager(Decorator builder) {
        this.builder = builder;
    }

    public Parlour decorate() {
        builder.buildWall();
        builder.buildTv();
        builder.buildSofa();

        return builder.getResult();
    }
}
